scala_library(
  provides = scala_artifact(
    org = 'com.twitter',
    name = 'finatra-thrift',
    repo = artifactory,
  ),
  dependencies=[
    '3rdparty/jvm/com/github/nscala_time:nscala_time',
    '3rdparty/jvm/com/google/inject/extensions:guice-assistedinject',
    '3rdparty/jvm/com/google/inject/extensions:guice-multibindings',
    '3rdparty/jvm/com/google/inject:guice',
    '3rdparty/jvm/commons-lang:commons-lang',
    '3rdparty/jvm/javax/inject:javax.inject',
    '3rdparty/jvm/joda-time:joda-time',
    '3rdparty/jvm/net/codingwell:scala-guice',
    '3rdparty/jvm/org/apache/thrift:libthrift-0.5.0',
    '3rdparty/jvm/org/slf4j:jcl-over-slf4j',
    '3rdparty/jvm/org/slf4j:jul-to-slf4j',
    '3rdparty/jvm/org/slf4j:log4j-over-slf4j',
    '3rdparty/jvm/org/slf4j:slf4j-api',
    '3rdparty/jvm/org/yaml:snakeyaml',
    'finagle/finagle-core/src/main/scala',
    'finagle/finagle-exp/src/main/scala',
    'finagle/finagle-thrift/src/main/scala',
    'finagle/finagle-thriftmux/src/main/scala',
    'finatra/inject/inject-app/src/main/scala',
    'finatra/inject/inject-core/src/main/scala',
    'finatra/inject/inject-server/src/main/scala',
    'finatra/inject/inject-slf4j/src/main/scala',
    'finatra/inject/inject-thrift/src/main/scala',
    'finatra/inject/inject-utils/src/main/scala',
    'finatra/thrift/src/main/thrift:thrift-scala',
    'finatra/utils/src/main/java',
    'finatra/utils/src/main/scala',
    'scrooge/scrooge-core/src/main/scala',
    'twitter-server/src/main/scala',
    'util/util-app/src/main/scala',
    'util/util-core/src/main/scala',
    'util/util-logging/src/main/scala',
    'util/util-slf4j-api/src/main/scala',
    'util/util-stats/src/main/scala',
  ],
  fatal_warnings=True,
  sources=rglobs('*.scala'),
)
